package com.dgq.main.service.impl;

import com.dgq.main.service.AccountService;
import com.dgq.main.service.ShippingCart;
import com.dgq.main.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

	@Resource
	private AccountService accountService;

	@Resource
	private ShippingCart shippingCart;

	public UserServiceImpl(){
		System.out.println("userServiceImpl 加载");
	}

	@Override
	public String getUserName(long userId) {

		shippingCart.addShipp();
		return "dgq";
	}
}
